package inheritance;

public class SoccerPlayer extends Player{
	
	int positionOfThePlayer;
	
	public SoccerPlayer(String name, int id, int numberOfMatchesPlayed, int positionOfThePlayer ){
	  super(name, id, numberOfMatchesPlayed);
	  
	  this.positionOfThePlayer = positionOfThePlayer;
	}
	
	
	void gameStart(){
		System.out.println("The game started and " + name +"  and her id " + id +" with poistion " + positionOfThePlayer+ " started kicking the ball");
	}
	

}
